<?php
/**
 * Created by PhpStorm.
 * User: madong
 * Date: 2018/9/16
 * Time: 下午6:24
 */

namespace app\api\model;
use think\Model;

class Jiaoyi extends Model
{
    public function UserInfo(){

        return $this->hasOne('User','id','uid');

    }
    public function UserUinfo(){

        return $this->hasOne('JiaoyiUinfo','uid','uid');

    }
}